//
//  TextViewController.m
//  Reader
//
//  Created by ZF on 16/12/10.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "TextViewController.h"

@interface TextViewController () <UITextViewDelegate>
{
    UITextView *content;
}

@end

@implementation TextViewController

- (void)viewDidLoad
{
    content = [[UITextView alloc] initWithFrame:self.view.bounds];
    content.backgroundColor = self.backGroudColor;
    content.text = self.text;
    content.font = [content.font fontWithSize:18.0];
    content.editable = NO;
    //content.scrollEnabled = NO;
    content.selectable = NO;
    [self.view addSubview:content];
    
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
